package org.brisling.oa.domain;


import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.TableGenerator;

import org.brisling.base.domain.inf.BaseFlowDomainInf;
import org.brisling.common.ConstSysParam;

import com.fasterxml.jackson.annotation.JsonFormat;

/**
 * 
 * <p>Title: OAHighValue</p>
 * <p>Description: 用车申请实体类</p>
 * <p>Company: tongking</p>
 * @author jackson wang
 * @since 1.0
 * @version 1.0
 * @date 2016年7月8日 下午8:48:11
 */


//定义实体annotation
@Entity


//定义模块代码及数据表名称
@Table(name=ConstSysParam.MODULE_OA_CAR_APPLY)




public class OACarApply extends BaseOADomain implements BaseFlowDomainInf,BaseOADomainInf{

	
	//不可修改部分-----结束
	
	
	private String plate_item_code;
	
	public String getPlate_item_code() {
		return plate_item_code;
	}

	public void setPlate_item_code(String plate_item_code) {
		this.plate_item_code = plate_item_code;
	}

	//出车时间	
	@JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
	private Date go_car_time;	

	//随行人员
	private String go_person;
	
	//外出人数
	private String plate_number;

	//出行方式
	private String driver;
	
	//外出路线
	private String aim_line;

	//目的地
	private String aim_address;
	
	//是否住宿标志(1:是,0:否)
	@Column(length=2)
	private String accommodation;
	
	//院办审核用餐标准
	private Double audit_diningStandard;
	
	//院办审核住宿标准
	private Double audit_accommodationStandard;
	
	//院办审核伙食补助
	private Double audit_foodAllowance;
	
	//院办审核交通补助
	private Double audit_trafficSubsidy;

	//预计回车	
	@JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
	private Date plan_back_car_time;
	
	public String getPlate_number() {
		return plate_number;
	}

	public void setPlate_number(String plate_number) {
		this.plate_number = plate_number;
	}	

	public Date getGo_car_time() {
		return go_car_time;
	}

	public void setGo_car_time(Date go_car_time) {
		this.go_car_time = go_car_time;
	}

	public String getGo_person() {
		return go_person;
	}

	public void setGo_person(String go_person) {
		this.go_person = go_person;
	}

	public String getDriver() {
		return driver;
	}

	public void setDriver(String driver) {
		this.driver = driver;
	}

	public String getAim_address() {
		return aim_address;
	}

	public void setAim_address(String aim_address) {
		this.aim_address = aim_address;
	}

	public Date getPlan_back_car_time() {
		return plan_back_car_time;
	}

	public void setPlan_back_car_time(Date plan_back_car_time) {
		this.plan_back_car_time = plan_back_car_time;
	}

	/**
	 * @return the aim_line
	 */
	public String getAim_line() {
		return aim_line;
	}

	/**
	 * @param aim_line the aim_line to set
	 */
	public void setAim_line(String aim_line) {
		this.aim_line = aim_line;
	}

	/**
	 * @return the accommodation
	 */
	public String getAccommodation() {
		return accommodation;
	}

	/**
	 * @param accommodation the accommodation to set
	 */
	public void setAccommodation(String accommodation) {
		this.accommodation = accommodation;
	}

	/**
	 * @return the audit_diningStandard
	 */
	public Double getAudit_diningStandard() {
		return audit_diningStandard;
	}

	/**
	 * @param audit_diningStandard the audit_diningStandard to set
	 */
	public void setAudit_diningStandard(Double audit_diningStandard) {
		this.audit_diningStandard = audit_diningStandard;
	}

	/**
	 * @return the audit_accommodationStandard
	 */
	public Double getAudit_accommodationStandard() {
		return audit_accommodationStandard;
	}

	/**
	 * @param audit_accommodationStandard the audit_accommodationStandard to set
	 */
	public void setAudit_accommodationStandard(Double audit_accommodationStandard) {
		this.audit_accommodationStandard = audit_accommodationStandard;
	}

	/**
	 * @return the audit_foodAllowance
	 */
	public Double getAudit_foodAllowance() {
		return audit_foodAllowance;
	}

	/**
	 * @param audit_foodAllowance the audit_foodAllowance to set
	 */
	public void setAudit_foodAllowance(Double audit_foodAllowance) {
		this.audit_foodAllowance = audit_foodAllowance;
	}

	/**
	 * @return the audit_trafficSubsidy
	 */
	public Double getAudit_trafficSubsidy() {
		return audit_trafficSubsidy;
	}

	/**
	 * @param audit_trafficSubsidy the audit_trafficSubsidy to set
	 */
	public void setAudit_trafficSubsidy(Double audit_trafficSubsidy) {
		this.audit_trafficSubsidy = audit_trafficSubsidy;
	}
	
	
}